package com.jeasonzhao.commons.basic;

public class IntegerPairCollection extends java.util.Vector<IntegerPair>
{
    private static final long serialVersionUID = 1L;
    public IntegerPairCollection()
    {
    }

    public IntegerPairCollection(IntegerPair ...arys)
    {
        if(null != arys)
        {
            for(IntegerPair p : arys)
            {
                if(null != p)
                {
                    this.add(p);
                }
            }
        }
    }

    public IntegerPairCollection(Iterable<IntegerPair> ita)
    {
        if(null != ita)
        {
            for(java.util.Iterator<IntegerPair> it = ita.iterator();it.hasNext();)
            {
                IntegerPair p = it.next();
                if(null != p)
                {
                    this.add(p);
                }
            }
        }
    }

    public int hashCode()
    {
        return super.hashCode();
    }

    public String toString()
    {
        return super.toString();
    }
}
